package cn.afterturn.svn.analysis.entity.historyinfo;

import java.util.Date;
import java.util.List;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import cn.afterturn.svn.analysis.entity.historypath.HistoryPathEntity;

/**   
 * @Description:  svn历史文件
 * @author JueYue
 * @date 2015-07-29 15:39
 * @version V1.0   
 */
@Table("history_info")
public class HistoryInfoEntity implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * Id 
     **/
    private Integer           id;
    /**
     * RepositoryId 
     **/
    private Integer           repositoryId;
    /**
     * Revision 
     **/
    private Long              revision;
    /**
     * Author 
     **/
    private String            author;
    /**
     * Date 
     **/
    private Date              date;
    /**
     * LogMessage 
     **/
    private String            logMessage;
    /**
     * FileNum 
     **/
    private Integer           fileNum;

    private List<HistoryPathEntity> paths;

    /**
     *@return: Integer  
     */

    @Id(auto = true)
    @Column("id")
    public Integer getId() {
        return this.id;
    }

    /**
     *@param: id  
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *@return: Integer  
     */
    @Column("Repository_id")
    public Integer getRepositoryId() {
        return this.repositoryId;
    }

    /**
     *@param: repositoryId  
     */
    public void setRepositoryId(Integer repositoryId) {
        this.repositoryId = repositoryId;
    }

    /**
     *@return: Integer  
     */
    @Column("revision")
    public Long getRevision() {
        return this.revision;
    }

    /**
     *@param: revision  
     */
    public void setRevision(Long revision) {
        this.revision = revision;
    }

    /**
     *@return: String  
     */
    @Column("author")
    public String getAuthor() {
        return this.author;
    }

    /**
     *@param: author  
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     *@return: Date  
     */
    @Column("date")
    public Date getDate() {
        return this.date;
    }

    /**
     *@param: date  
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     *@return: String  
     */
    @Column("log_message")
    public String getLogMessage() {
        return this.logMessage;
    }

    /**
     *@param: logMessage  
     */
    public void setLogMessage(String logMessage) {
        this.logMessage = logMessage;
    }

    /**
     *@return: Integer  
     */
    @Column("file_num")
    public Integer getFileNum() {
        return this.fileNum;
    }

    /**
     *@param: fileNum  
     */
    public void setFileNum(Integer fileNum) {
        this.fileNum = fileNum;
    }

    public List<HistoryPathEntity> getPaths() {
        return paths;
    }

    public void setPaths(List<HistoryPathEntity> paths) {
        this.paths = paths;
    }
}
